<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Payment.aspx.cs" Inherits="Payment" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>eSecretary-Payment</title>
     <link  type="text/css" rel="Stylesheet" href="eSecretary.css"/>
    <style type="text/css">
        .style1
        {
            width: 136px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    <div id="main">
       <div id="nav">
            <table id="menu">
             <tr>
                        <td><a href="Default.aspx">Log In</a> </td>

                        <td><a href="Event_cal.aspx">Calendar</a>
                        </td>
                        
                        <td><a href="Payment.aspx">Payment</a>
                        </td>

                        <td><a href="WeatherReport.aspx">Weather</a>
                        </td>

                        
                    </tr>
                    
            </table>
            <img alt="" src="Images/logo.GIF" />eSecretary
       </div>
       <div id="content">
       <div>
                <table id="eClaim">
                <tr>
                  <td colspan="5"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Monthly Expense Claim</b></td>
                </tr>
                <tr>
                <td class="style1">Year and Month:</td>
                <td>
                    <asp:TextBox ID="tbDate" runat="server"></asp:TextBox></td>
                    <td>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ErrorMessage="InValid! Correct Format:YYYY-MM" ValidationGroup="1" ControlToValidate="tbDate" 
                            Font-Bold="True" ValidationExpression="(19|20)\d\d[- /.](0[1-9]|1[012])"></asp:RegularExpressionValidator>
                        
                    </td>
                </tr>
                <tr>
                  <td class="style1">Check Book:</td>
                  <td><asp:TextBox ID="tbCheck" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                  <td class="style1">Credit Card:</td>
                  <td>
                      <asp:TextBox ID="tbCredit" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                   <td class="style1">Debit Card:</td>
                   <td>
                       <asp:TextBox ID="tbDebit" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="style1">Cash:</td>
                    <td><asp:TextBox ID="tbCash" runat="server"></asp:TextBox></td>              
                </tr>
                <tr>
                    <td class="style1"></td>
                    <td>
                        <asp:Button ID="BtnClaim" runat="server" ValidationGroup="1" CausesValidation="true" Text="Submit" CssClass="addBtn" 
                            onclick="BtnClaim_Click"/></td>
                </tr>
                </table>
                </div>
                <div>
                    <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
                        AutoDataBind="True" Height="1129px" ReportSourceID="CrystalReportSource1" 
                        Width="903px" />
                    <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
                        <Report FileName="ExReport.rpt">
                        </Report>
                    </CR:CrystalReportSource>
                </div>
           
                
       </div>
    
    </div>
    </form>
    </body>
</html>
